home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PRINTER / EPSON.ARJ / GRAFX.DOC < prev    next >
Text File  |  1985-12-11  |  3KB  |  74 lines

  1.  
  2.                                      GRAFX
  3.  
  4.  
  5.                                       by
  6.  
  7.  
  8.                                 Peter Magnusson          Version 1.0
  9.                                                           10/3/85
  10.  
  11. GRAFX.COM was written as an initial programming exercise in Turbo Pascal.
  12. The purpose of the program is to create a user defined set of characters
  13. for the FX-80.  Specifically, these characters are the IBM extended ASCII
  14. characters 176 thru 223.  These characters are used for simple graphics
  15. on the screen.  The FX-80 defines these ASCII characters as italicized
  16. numbers and capital letters.  Loading the IBM characters to the printer
  17. allows you to print these simple graphics characters when you press
  18. Shift-PrtSc.
  19.  
  20. The flow of the program is as follows (GRAFX.PAS is reasonably documented
  21. if you want more detail):
  22.  
  23.         1) An inital message is put on the screen.
  24.  
  25.         2) An array containing the ASCII-format character definitions is
  26.            filled.  This is basically a file canabalized from executing
  27.            FXDEFINE - a PD BASIC program for designing characters for the
  28.            FX-80.
  29.  
  30.         3) The FX-80 is initialized to enable it to use the user defined
  31.            characters and to tell it which characters are being defined.
  32.  
  33.         4) The array is then read, one line at a time, and converted to
  34.            integers. This 11 element set is then sent to the the printer
  35.            preceded by an attribute byte and thus defines a character.
  36.  
  37.         5) A final message is put on the screen and you are returned to DOS.
  38.  
  39. Operation is simple:
  40.  
  41.         1) Switch 1-4 at the right rear corner of the FX-80 should be off.
  42.  
  43.         2) With GRAFX.COM on the default drive and current directory,
  44.            enter GRAFX from the DOS prompt. You will be returned to DOS.
  45.  
  46.         3) If you want to disable the printing of the new characters,
  47.            simply cycle the printer power off and on.
  48.  
  49. The following uses all of the characters defined and can be a test of
  50. compatibility of your printer (and my program!) by entering:
  51.  
  52.                               COPY GRAFX.DOC LPT1
  53.  
  54.       ┌────┬────┐   ╔════╦════╗   ╒════╤════╕            ╓────╥────╖
  55.       │    │    │   ║    ║    ║   │    │    │   ░░░░░    ║    ║    ║
  56.       ├────┼────┤   ╠════╬════╣   ╞════╪════╡   ▒▒▒▒▒    ╟────╫────╢
  57.       │    │    │   ║    ║    ║   │    │    │   ▓▓▓▓▓    ║    ║    ║
  58.       └────┴────┘   ╚════╩════╝   ╘════╧════╛            ╙────╨────╜
  59.  
  60.                                    ▄▄▄▄▄▄▄▄▄▄
  61.                                    ▌        ▐
  62.                                    ▌    █   ▐
  63.                                    ▌        ▐
  64.                                    ▀▀▀▀▀▀▀▀▀▀
  65.  
  66.  
  67.  
  68. As an initial programming effort, this obviously can be embellished.  You are
  69. encouraged to do so. Leave me a message on the SIG  or in EASYPLEX
  70. if this tickles your fancy and leave any suggestions for improvement.
  71.  
  72.                                         Peter Magnusson
  73.                                         75006,243
  74.